#include "replay.h"
#include <qpushbutton.h>
#include <qlayout.h>
Replay::Replay(QWidget *parent) :
    QDialog(parent)
{
	pp=new QPushButton("<<",this);
	pn=new QPushButton(">>",this);
	pf=new QPushButton("|<",this);
	pl=new QPushButton(">|",this);
	QVBoxLayout *ly=new QVBoxLayout(this);
	ly->addWidget(pf);
	ly->addWidget(pp);
	ly->addWidget(pn);
	ly->addWidget(pl);
	this->setLayout(ly);
	connect(pp,SIGNAL(clicked()),this,SLOT(sendprev()));
	connect(pn,SIGNAL(clicked()),this,SLOT(sendnext()));
	connect(pf,SIGNAL(clicked()),this,SLOT(sendfrist()));
	connect(pl,SIGNAL(clicked()),this,SLOT(sendlast()));
}
